/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tiebreak.UI;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;
import javax.swing.KeyStroke;



/**
 *
 * @author kennet
 */
public class MenuBarCreator
{

    

    public JMenuBar createMenuBar()
    {
        JMenuBar menuBar = new JMenuBar();
        JMenu file = new JMenu("File");
        JMenu help = new JMenu("Help");

        menuBar.add(file);
        menuBar.add(help);

        JMenuItem fileItem = new JMenuItem("Close");
        JMenuItem helpItem = new JMenuItem("Info");
        

        file.add(fileItem);
        help.add(helpItem);

        return menuBar;
    }
}
